package com.gsmr.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.gsmr.dao.SDCCHDao;
import com.gsmr.dao.UserDao;
import com.gsmr.entity.SDCCH;
import com.gsmr.entity.User;
import com.gsmr.service.SDCCHService;
import com.gsmr.service.UserService;

/**
 * 用户Service实现类
 * @author user
 *
 */
@Service("sdcchService")
public class SDCCHServiceImpl implements SDCCHService{

	@Resource
	private SDCCHDao sdcchDao;

	public List<SDCCH> find(Map<String, Object> map) {
		return sdcchDao.find(map);
	}
	public List<SDCCH> findASC(Map<String, Object> map) {
		return sdcchDao.findASC(map);
	}

	public Long getTotal(Map<String, Object> map) {
		return sdcchDao.getTotal(map);
	}

	public int update(Map<String,Object> map) {
		return sdcchDao.update(map);
	}

	public int add(Map<String,Object> map) {
		return sdcchDao.add(map);
	}

	public int delete(Map<String,Object> map) {
		return sdcchDao.delete(map);
	}

	public List<String> findTableNames(Map<String, Object> map) {
		return sdcchDao.findTableNames(map);
	}

	public List<SDCCH> findByIds(Map<String, Object> map) {
		return sdcchDao.findByIds(map);
	}

	public SDCCH findByPrimaryKey(Map<String, Object> map) {
		return sdcchDao.findByPrimaryKey(map);
	}

	public List<String> findDistricts(Map<String, Object> map) {
		return sdcchDao.findDistricts(map);
	}
	
	public List<SDCCH> findMessage_TYPEs(Map<String, Object> map) {
		return sdcchDao.findMessage_TYPEs(map);
	}
	
	public List<String> findFrontProcessorIds(Map<String, Object> map) {
		return sdcchDao.findFrontProcessorIds(map);
	}
	
	public List<SDCCH> findIMSIs(Map<String, Object> map) {
		return sdcchDao.findIMSIs(map);
	}
	
	public List<SDCCH> findMSISDNs(Map<String, Object> map) {
		return sdcchDao.findMSISDNs(map);
	}
	
	public List<SDCCH> findCTCS_IDs(Map<String, Object> map) {
		return sdcchDao.findCTCS_IDs(map);
	}
	
	public int createOrReplaceView(Map<String, Object> map) {
		return sdcchDao.createOrReplaceView(map);
	}
}
